import requests

r=requests.get("http://localhost:8080/woniusales/vcode")
with open("verifycode.png","wb") as f:
    f.write(r.content)


from selenium import webdriver
wd=webdriver.Chrome()
wd.get("http://localhost:8080/woniusales")
wd.find_element_by_id("logincode").screenshot("verifycode1.png")
wd.quit()
